﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ListInfo.aspx.cs" Inherits="CardLogistics.Web.MainPage.Basic.SalesInfo.ListInfo" %>

<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../../../Controls/WebUserControl_Nav.ascx" TagName="WebUserControl_Nav"
    TagPrefix="uc1" %>
<%@ Register Src="../../../Controls/WebUserControl_ToolBar.ascx" TagName="WebUserControl_ToolBar"
    TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>合作单位</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../../js/jquery.js"></script>
    <script src="../../../js/valReq.js" type="text/javascript"></script>
    <script src="../../../js/tblistjs.js" type="text/javascript"></script>
    <style type="text/css">
        .tablelist tr:hover
        {
            background: #e5ebee;
        }
    </style>
</head>
<body>
    <form runat="server" id="f1">
    <uc1:WebUserControl_Nav ID="WebUserControl_Nav1" runat="server" />
    <div class="rightinfo">
        <uc2:WebUserControl_ToolBar ID="wuc_toolbar" runat="server" />
        <asp:Repeater ID="rptList" runat="Server">
            <HeaderTemplate>
                <table class="tablelist" id="tblist">
                    <thead>
                        <tr>
                            <th>
                                序号
                            </th>
                            <th>
                                销售机构/网点名称
                            </th>
                            <th>
                                所属机构/网点
                            </th>
                            <th>
                                运营代码
                            </th>
                            <th>
                                地址
                            </th>
                            <th>
                                联系人
                            </th>
                            <th>
                                联系电话
                            </th>
                            <th>
                                状态
                            </th>
                        </tr>
                    </thead>
                    <tbody>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td align="center" width="70px">
                        <input type="hidden" id="hf_Id" name="hf_id" value='<%# Eval("ID")%>' />
                        <%# Container.ItemIndex + 1 + (WebPageIndex * WebPageSize - WebPageSize)%>
                    </td>
                    <td>
                        <%# Eval("SALESNAME")%>
                    </td>
                    <td>
                        <%# Eval("PSALESNAME")%>
                    </td>
                    <td>
                        <%# Eval("TJRLUNITID")%>
                    </td>
                    <td>
                        <%# Eval("SALESADDRESS")%>
                    </td>
                    <td>
                        <%# Eval("SALESPEP")%>
                    </td>
                    <td>
                        <%# Eval("SALESPHONE")%>
                    </td>
                    <td align="center">
                        <%# Eval("STATUS").ToString()=="0"?"启用":"<span style='color:red;'>禁用</span>" %>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </tbody></table>
            </FooterTemplate>
        </asp:Repeater>
        <webdiyer:AspNetPager ID="AspNetPager1" CssClass="paginator" CurrentPageButtonClass="cpb"
            runat="server" Width="100%" AlwaysShow="True" FirstPageText="首页" LastPageText="尾页"
            NextPageText="下一页" PrevPageText="上一页" ShowCustomInfoSection="left" ShowInputBox="Never"
            CustomInfoTextAlign="Left" LayoutType="Table" OnPageChanged="AspNetPager1_PageChanged">
        </webdiyer:AspNetPager>
        <script type="text/javascript">
            $('.tablelist tbody tr:odd').addClass('odd');
        </script>
    </div>
    <asp:HiddenField ID="hdf_Id" runat="server" />
    </form>
</body>
</html>
